package top.laoshuzi.scad.mosinnagant.utils.ex

import eu.printingin3d.javascad.models.Polyhedron
import top.laoshuzi.scad.mosinnagant.model.ExtPolyhedron

fun CuS3(
    length: Double,
    bottomLong: Double,
    bottomWide: Double,
    bottomVertexX: Double,
    topLong: Double,
    topWide: Double,
    topVertexX: Double
): Polyhedron {
    return ExtPolyhedron.side3Cubeoid(length, bottomLong, bottomWide, bottomVertexX, topLong, topWide, topVertexX)
}

fun CuS4(length: Double, bottomSize: Double, topSize: Double): Polyhedron {
    return ExtPolyhedron.side4Cubeoid(length, bottomSize, topSize)
}

fun CuS4(length: Double, bottomLong: Double, bottomWide: Double, topLong: Double, topWide: Double): Polyhedron {
    return ExtPolyhedron.side4Cubeoid(length, bottomLong, bottomWide, topLong, topWide)
}